package cn.edu.xhu.library_management.book.mapper;

import cn.edu.xhu.library_management.book.entity.LmBook;
import cn.edu.xhu.library_management.book.entity.search.LmBookSearch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author 21086
* @description 针对表【lm_book(图书表)】的数据库操作Mapper
* @createDate 2023-03-15 10:17:50
* @Entity cn.edu.xhu.library_management.book.entity.LmBook
*/
public interface LmBookMapper extends BaseMapper<LmBook> {
    /**
     * 图书搜索
     * @param page 分页对象
     * @param search 搜索对象
     * @return
     */
    Page<LmBook> search(@Param("page") Page<LmBook> page, @Param("search")LmBookSearch search);
}




